package com.chookss.mine.personal.collection;


import android.annotation.SuppressLint;

import com.chookss.tools.MyEvent;
import com.gyf.immersionbar.components.ImmersionFragment;

import org.greenrobot.eventbus.EventBus;

@SuppressLint("ValidFragment")
public class CollectionBaseFragment extends ImmersionFragment {
    private   int size = 0;

    @Override
    public void initImmersionBar() {

    }

    public void setSize(int size) {
        this.size = size;
        EventBus.getDefault().post(new MyEvent("refresh_collection"));
    }

    public int getSize() {
        return size;
    }

    public CollectionBaseFragment() {

    }
}
